package com.company.permission.entity;

import java.util.List;

public class User {
    private Long id;
    private String loginname;
    private String name;
    private String email;
    private String mobilephone;
    private Integer status;
    private String password;
    private Integer sex;
    private String address;
    private String tel;
    private List<Role> roles;

    // 构造器
    public User() {}

    // getter和setter
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }

    public String getLoginname() { return loginname; }
    public void setLoginname(String loginname) { this.loginname = loginname; }

    public String getName() { return name; }
    public void setName(String name) { this.name = name; }

    public String getEmail() { return email; }
    public void setEmail(String email) { this.email = email; }

    public String getMobilephone() { return mobilephone; }
    public void setMobilephone(String mobilephone) { this.mobilephone = mobilephone; }

    public Integer getStatus() { return status; }
    public void setStatus(Integer status) { this.status = status; }

    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }

    public Integer getSex() { return sex; }
    public void setSex(Integer sex) { this.sex = sex; }

    public String getAddress() { return address; }
    public void setAddress(String address) { this.address = address; }

    public String getTel() { return tel; }
    public void setTel(String tel) { this.tel = tel; }

    public List<Role> getRoles() { return roles; }
    public void setRoles(List<Role> roles) { this.roles = roles; }
}